package com.suyuan.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PurchaseInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PurchaseInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGidIsNull() {
            addCriterion("GID is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("GID is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(Integer value) {
            addCriterion("GID =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(Integer value) {
            addCriterion("GID <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(Integer value) {
            addCriterion("GID >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("GID >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(Integer value) {
            addCriterion("GID <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(Integer value) {
            addCriterion("GID <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<Integer> values) {
            addCriterion("GID in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<Integer> values) {
            addCriterion("GID not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(Integer value1, Integer value2) {
            addCriterion("GID between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(Integer value1, Integer value2) {
            addCriterion("GID not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andCompidIsNull() {
            addCriterion("CompID is null");
            return (Criteria) this;
        }

        public Criteria andCompidIsNotNull() {
            addCriterion("CompID is not null");
            return (Criteria) this;
        }

        public Criteria andCompidEqualTo(Integer value) {
            addCriterion("CompID =", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotEqualTo(Integer value) {
            addCriterion("CompID <>", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidGreaterThan(Integer value) {
            addCriterion("CompID >", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidGreaterThanOrEqualTo(Integer value) {
            addCriterion("CompID >=", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidLessThan(Integer value) {
            addCriterion("CompID <", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidLessThanOrEqualTo(Integer value) {
            addCriterion("CompID <=", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidIn(List<Integer> values) {
            addCriterion("CompID in", values, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotIn(List<Integer> values) {
            addCriterion("CompID not in", values, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidBetween(Integer value1, Integer value2) {
            addCriterion("CompID between", value1, value2, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotBetween(Integer value1, Integer value2) {
            addCriterion("CompID not between", value1, value2, "compid");
            return (Criteria) this;
        }

        public Criteria andSupplyidIsNull() {
            addCriterion("SupplyID is null");
            return (Criteria) this;
        }

        public Criteria andSupplyidIsNotNull() {
            addCriterion("SupplyID is not null");
            return (Criteria) this;
        }

        public Criteria andSupplyidEqualTo(Integer value) {
            addCriterion("SupplyID =", value, "supplyid");
            return (Criteria) this;
        }

        public Criteria andSupplyidNotEqualTo(Integer value) {
            addCriterion("SupplyID <>", value, "supplyid");
            return (Criteria) this;
        }

        public Criteria andSupplyidGreaterThan(Integer value) {
            addCriterion("SupplyID >", value, "supplyid");
            return (Criteria) this;
        }

        public Criteria andSupplyidGreaterThanOrEqualTo(Integer value) {
            addCriterion("SupplyID >=", value, "supplyid");
            return (Criteria) this;
        }

        public Criteria andSupplyidLessThan(Integer value) {
            addCriterion("SupplyID <", value, "supplyid");
            return (Criteria) this;
        }

        public Criteria andSupplyidLessThanOrEqualTo(Integer value) {
            addCriterion("SupplyID <=", value, "supplyid");
            return (Criteria) this;
        }

        public Criteria andSupplyidIn(List<Integer> values) {
            addCriterion("SupplyID in", values, "supplyid");
            return (Criteria) this;
        }

        public Criteria andSupplyidNotIn(List<Integer> values) {
            addCriterion("SupplyID not in", values, "supplyid");
            return (Criteria) this;
        }

        public Criteria andSupplyidBetween(Integer value1, Integer value2) {
            addCriterion("SupplyID between", value1, value2, "supplyid");
            return (Criteria) this;
        }

        public Criteria andSupplyidNotBetween(Integer value1, Integer value2) {
            addCriterion("SupplyID not between", value1, value2, "supplyid");
            return (Criteria) this;
        }

        public Criteria andSourcecodeIsNull() {
            addCriterion("SourceCode is null");
            return (Criteria) this;
        }

        public Criteria andSourcecodeIsNotNull() {
            addCriterion("SourceCode is not null");
            return (Criteria) this;
        }

        public Criteria andSourcecodeEqualTo(String value) {
            addCriterion("SourceCode =", value, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeNotEqualTo(String value) {
            addCriterion("SourceCode <>", value, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeGreaterThan(String value) {
            addCriterion("SourceCode >", value, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeGreaterThanOrEqualTo(String value) {
            addCriterion("SourceCode >=", value, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeLessThan(String value) {
            addCriterion("SourceCode <", value, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeLessThanOrEqualTo(String value) {
            addCriterion("SourceCode <=", value, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeLike(String value) {
            addCriterion("SourceCode like", value, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeNotLike(String value) {
            addCriterion("SourceCode not like", value, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeIn(List<String> values) {
            addCriterion("SourceCode in", values, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeNotIn(List<String> values) {
            addCriterion("SourceCode not in", values, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeBetween(String value1, String value2) {
            addCriterion("SourceCode between", value1, value2, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andSourcecodeNotBetween(String value1, String value2) {
            addCriterion("SourceCode not between", value1, value2, "sourcecode");
            return (Criteria) this;
        }

        public Criteria andPurctimeIsNull() {
            addCriterion("PurcTime is null");
            return (Criteria) this;
        }

        public Criteria andPurctimeIsNotNull() {
            addCriterion("PurcTime is not null");
            return (Criteria) this;
        }

        public Criteria andPurctimeEqualTo(Date value) {
            addCriterion("PurcTime =", value, "purctime");
            return (Criteria) this;
        }

        public Criteria andPurctimeNotEqualTo(Date value) {
            addCriterion("PurcTime <>", value, "purctime");
            return (Criteria) this;
        }

        public Criteria andPurctimeGreaterThan(Date value) {
            addCriterion("PurcTime >", value, "purctime");
            return (Criteria) this;
        }

        public Criteria andPurctimeGreaterThanOrEqualTo(Date value) {
            addCriterion("PurcTime >=", value, "purctime");
            return (Criteria) this;
        }

        public Criteria andPurctimeLessThan(Date value) {
            addCriterion("PurcTime <", value, "purctime");
            return (Criteria) this;
        }

        public Criteria andPurctimeLessThanOrEqualTo(Date value) {
            addCriterion("PurcTime <=", value, "purctime");
            return (Criteria) this;
        }

        public Criteria andPurctimeIn(List<Date> values) {
            addCriterion("PurcTime in", values, "purctime");
            return (Criteria) this;
        }

        public Criteria andPurctimeNotIn(List<Date> values) {
            addCriterion("PurcTime not in", values, "purctime");
            return (Criteria) this;
        }

        public Criteria andPurctimeBetween(Date value1, Date value2) {
            addCriterion("PurcTime between", value1, value2, "purctime");
            return (Criteria) this;
        }

        public Criteria andPurctimeNotBetween(Date value1, Date value2) {
            addCriterion("PurcTime not between", value1, value2, "purctime");
            return (Criteria) this;
        }

        public Criteria andPurcidIsNull() {
            addCriterion("PurcID is null");
            return (Criteria) this;
        }

        public Criteria andPurcidIsNotNull() {
            addCriterion("PurcID is not null");
            return (Criteria) this;
        }

        public Criteria andPurcidEqualTo(Integer value) {
            addCriterion("PurcID =", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidNotEqualTo(Integer value) {
            addCriterion("PurcID <>", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidGreaterThan(Integer value) {
            addCriterion("PurcID >", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidGreaterThanOrEqualTo(Integer value) {
            addCriterion("PurcID >=", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidLessThan(Integer value) {
            addCriterion("PurcID <", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidLessThanOrEqualTo(Integer value) {
            addCriterion("PurcID <=", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidIn(List<Integer> values) {
            addCriterion("PurcID in", values, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidNotIn(List<Integer> values) {
            addCriterion("PurcID not in", values, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidBetween(Integer value1, Integer value2) {
            addCriterion("PurcID between", value1, value2, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidNotBetween(Integer value1, Integer value2) {
            addCriterion("PurcID not between", value1, value2, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcnameIsNull() {
            addCriterion("PurcName is null");
            return (Criteria) this;
        }

        public Criteria andPurcnameIsNotNull() {
            addCriterion("PurcName is not null");
            return (Criteria) this;
        }

        public Criteria andPurcnameEqualTo(String value) {
            addCriterion("PurcName =", value, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameNotEqualTo(String value) {
            addCriterion("PurcName <>", value, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameGreaterThan(String value) {
            addCriterion("PurcName >", value, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameGreaterThanOrEqualTo(String value) {
            addCriterion("PurcName >=", value, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameLessThan(String value) {
            addCriterion("PurcName <", value, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameLessThanOrEqualTo(String value) {
            addCriterion("PurcName <=", value, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameLike(String value) {
            addCriterion("PurcName like", value, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameNotLike(String value) {
            addCriterion("PurcName not like", value, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameIn(List<String> values) {
            addCriterion("PurcName in", values, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameNotIn(List<String> values) {
            addCriterion("PurcName not in", values, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameBetween(String value1, String value2) {
            addCriterion("PurcName between", value1, value2, "purcname");
            return (Criteria) this;
        }

        public Criteria andPurcnameNotBetween(String value1, String value2) {
            addCriterion("PurcName not between", value1, value2, "purcname");
            return (Criteria) this;
        }

        public Criteria andSuppliernameIsNull() {
            addCriterion("SupplierName is null");
            return (Criteria) this;
        }

        public Criteria andSuppliernameIsNotNull() {
            addCriterion("SupplierName is not null");
            return (Criteria) this;
        }

        public Criteria andSuppliernameEqualTo(String value) {
            addCriterion("SupplierName =", value, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameNotEqualTo(String value) {
            addCriterion("SupplierName <>", value, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameGreaterThan(String value) {
            addCriterion("SupplierName >", value, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameGreaterThanOrEqualTo(String value) {
            addCriterion("SupplierName >=", value, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameLessThan(String value) {
            addCriterion("SupplierName <", value, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameLessThanOrEqualTo(String value) {
            addCriterion("SupplierName <=", value, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameLike(String value) {
            addCriterion("SupplierName like", value, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameNotLike(String value) {
            addCriterion("SupplierName not like", value, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameIn(List<String> values) {
            addCriterion("SupplierName in", values, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameNotIn(List<String> values) {
            addCriterion("SupplierName not in", values, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameBetween(String value1, String value2) {
            addCriterion("SupplierName between", value1, value2, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSuppliernameNotBetween(String value1, String value2) {
            addCriterion("SupplierName not between", value1, value2, "suppliername");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneIsNull() {
            addCriterion("SupplierPhone is null");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneIsNotNull() {
            addCriterion("SupplierPhone is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneEqualTo(String value) {
            addCriterion("SupplierPhone =", value, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneNotEqualTo(String value) {
            addCriterion("SupplierPhone <>", value, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneGreaterThan(String value) {
            addCriterion("SupplierPhone >", value, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneGreaterThanOrEqualTo(String value) {
            addCriterion("SupplierPhone >=", value, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneLessThan(String value) {
            addCriterion("SupplierPhone <", value, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneLessThanOrEqualTo(String value) {
            addCriterion("SupplierPhone <=", value, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneLike(String value) {
            addCriterion("SupplierPhone like", value, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneNotLike(String value) {
            addCriterion("SupplierPhone not like", value, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneIn(List<String> values) {
            addCriterion("SupplierPhone in", values, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneNotIn(List<String> values) {
            addCriterion("SupplierPhone not in", values, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneBetween(String value1, String value2) {
            addCriterion("SupplierPhone between", value1, value2, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andSupplierphoneNotBetween(String value1, String value2) {
            addCriterion("SupplierPhone not between", value1, value2, "supplierphone");
            return (Criteria) this;
        }

        public Criteria andPurcaddrIsNull() {
            addCriterion("PurcAddr is null");
            return (Criteria) this;
        }

        public Criteria andPurcaddrIsNotNull() {
            addCriterion("PurcAddr is not null");
            return (Criteria) this;
        }

        public Criteria andPurcaddrEqualTo(String value) {
            addCriterion("PurcAddr =", value, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrNotEqualTo(String value) {
            addCriterion("PurcAddr <>", value, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrGreaterThan(String value) {
            addCriterion("PurcAddr >", value, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrGreaterThanOrEqualTo(String value) {
            addCriterion("PurcAddr >=", value, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrLessThan(String value) {
            addCriterion("PurcAddr <", value, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrLessThanOrEqualTo(String value) {
            addCriterion("PurcAddr <=", value, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrLike(String value) {
            addCriterion("PurcAddr like", value, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrNotLike(String value) {
            addCriterion("PurcAddr not like", value, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrIn(List<String> values) {
            addCriterion("PurcAddr in", values, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrNotIn(List<String> values) {
            addCriterion("PurcAddr not in", values, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrBetween(String value1, String value2) {
            addCriterion("PurcAddr between", value1, value2, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcaddrNotBetween(String value1, String value2) {
            addCriterion("PurcAddr not between", value1, value2, "purcaddr");
            return (Criteria) this;
        }

        public Criteria andPurcnumberIsNull() {
            addCriterion("PurcNumber is null");
            return (Criteria) this;
        }

        public Criteria andPurcnumberIsNotNull() {
            addCriterion("PurcNumber is not null");
            return (Criteria) this;
        }

        public Criteria andPurcnumberEqualTo(String value) {
            addCriterion("PurcNumber =", value, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberNotEqualTo(String value) {
            addCriterion("PurcNumber <>", value, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberGreaterThan(String value) {
            addCriterion("PurcNumber >", value, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberGreaterThanOrEqualTo(String value) {
            addCriterion("PurcNumber >=", value, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberLessThan(String value) {
            addCriterion("PurcNumber <", value, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberLessThanOrEqualTo(String value) {
            addCriterion("PurcNumber <=", value, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberLike(String value) {
            addCriterion("PurcNumber like", value, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberNotLike(String value) {
            addCriterion("PurcNumber not like", value, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberIn(List<String> values) {
            addCriterion("PurcNumber in", values, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberNotIn(List<String> values) {
            addCriterion("PurcNumber not in", values, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberBetween(String value1, String value2) {
            addCriterion("PurcNumber between", value1, value2, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPurcnumberNotBetween(String value1, String value2) {
            addCriterion("PurcNumber not between", value1, value2, "purcnumber");
            return (Criteria) this;
        }

        public Criteria andPrcweightIsNull() {
            addCriterion("PrcWeight is null");
            return (Criteria) this;
        }

        public Criteria andPrcweightIsNotNull() {
            addCriterion("PrcWeight is not null");
            return (Criteria) this;
        }

        public Criteria andPrcweightEqualTo(Float value) {
            addCriterion("PrcWeight =", value, "prcweight");
            return (Criteria) this;
        }

        public Criteria andPrcweightNotEqualTo(Float value) {
            addCriterion("PrcWeight <>", value, "prcweight");
            return (Criteria) this;
        }

        public Criteria andPrcweightGreaterThan(Float value) {
            addCriterion("PrcWeight >", value, "prcweight");
            return (Criteria) this;
        }

        public Criteria andPrcweightGreaterThanOrEqualTo(Float value) {
            addCriterion("PrcWeight >=", value, "prcweight");
            return (Criteria) this;
        }

        public Criteria andPrcweightLessThan(Float value) {
            addCriterion("PrcWeight <", value, "prcweight");
            return (Criteria) this;
        }

        public Criteria andPrcweightLessThanOrEqualTo(Float value) {
            addCriterion("PrcWeight <=", value, "prcweight");
            return (Criteria) this;
        }

        public Criteria andPrcweightIn(List<Float> values) {
            addCriterion("PrcWeight in", values, "prcweight");
            return (Criteria) this;
        }

        public Criteria andPrcweightNotIn(List<Float> values) {
            addCriterion("PrcWeight not in", values, "prcweight");
            return (Criteria) this;
        }

        public Criteria andPrcweightBetween(Float value1, Float value2) {
            addCriterion("PrcWeight between", value1, value2, "prcweight");
            return (Criteria) this;
        }

        public Criteria andPrcweightNotBetween(Float value1, Float value2) {
            addCriterion("PrcWeight not between", value1, value2, "prcweight");
            return (Criteria) this;
        }

        public Criteria andPurclevelIsNull() {
            addCriterion("PurcLevel is null");
            return (Criteria) this;
        }

        public Criteria andPurclevelIsNotNull() {
            addCriterion("PurcLevel is not null");
            return (Criteria) this;
        }

        public Criteria andPurclevelEqualTo(Integer value) {
            addCriterion("PurcLevel =", value, "purclevel");
            return (Criteria) this;
        }

        public Criteria andPurclevelNotEqualTo(Integer value) {
            addCriterion("PurcLevel <>", value, "purclevel");
            return (Criteria) this;
        }

        public Criteria andPurclevelGreaterThan(Integer value) {
            addCriterion("PurcLevel >", value, "purclevel");
            return (Criteria) this;
        }

        public Criteria andPurclevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("PurcLevel >=", value, "purclevel");
            return (Criteria) this;
        }

        public Criteria andPurclevelLessThan(Integer value) {
            addCriterion("PurcLevel <", value, "purclevel");
            return (Criteria) this;
        }

        public Criteria andPurclevelLessThanOrEqualTo(Integer value) {
            addCriterion("PurcLevel <=", value, "purclevel");
            return (Criteria) this;
        }

        public Criteria andPurclevelIn(List<Integer> values) {
            addCriterion("PurcLevel in", values, "purclevel");
            return (Criteria) this;
        }

        public Criteria andPurclevelNotIn(List<Integer> values) {
            addCriterion("PurcLevel not in", values, "purclevel");
            return (Criteria) this;
        }

        public Criteria andPurclevelBetween(Integer value1, Integer value2) {
            addCriterion("PurcLevel between", value1, value2, "purclevel");
            return (Criteria) this;
        }

        public Criteria andPurclevelNotBetween(Integer value1, Integer value2) {
            addCriterion("PurcLevel not between", value1, value2, "purclevel");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeIsNull() {
            addCriterion("PurcFeedTime is null");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeIsNotNull() {
            addCriterion("PurcFeedTime is not null");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeEqualTo(Date value) {
            addCriterion("PurcFeedTime =", value, "purcfeedtime");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeNotEqualTo(Date value) {
            addCriterion("PurcFeedTime <>", value, "purcfeedtime");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeGreaterThan(Date value) {
            addCriterion("PurcFeedTime >", value, "purcfeedtime");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("PurcFeedTime >=", value, "purcfeedtime");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeLessThan(Date value) {
            addCriterion("PurcFeedTime <", value, "purcfeedtime");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeLessThanOrEqualTo(Date value) {
            addCriterion("PurcFeedTime <=", value, "purcfeedtime");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeIn(List<Date> values) {
            addCriterion("PurcFeedTime in", values, "purcfeedtime");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeNotIn(List<Date> values) {
            addCriterion("PurcFeedTime not in", values, "purcfeedtime");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeBetween(Date value1, Date value2) {
            addCriterion("PurcFeedTime between", value1, value2, "purcfeedtime");
            return (Criteria) this;
        }

        public Criteria andPurcfeedtimeNotBetween(Date value1, Date value2) {
            addCriterion("PurcFeedTime not between", value1, value2, "purcfeedtime");
            return (Criteria) this;
        }

        public Criteria andPurcforageIsNull() {
            addCriterion("PurcForage is null");
            return (Criteria) this;
        }

        public Criteria andPurcforageIsNotNull() {
            addCriterion("PurcForage is not null");
            return (Criteria) this;
        }

        public Criteria andPurcforageEqualTo(String value) {
            addCriterion("PurcForage =", value, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageNotEqualTo(String value) {
            addCriterion("PurcForage <>", value, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageGreaterThan(String value) {
            addCriterion("PurcForage >", value, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageGreaterThanOrEqualTo(String value) {
            addCriterion("PurcForage >=", value, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageLessThan(String value) {
            addCriterion("PurcForage <", value, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageLessThanOrEqualTo(String value) {
            addCriterion("PurcForage <=", value, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageLike(String value) {
            addCriterion("PurcForage like", value, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageNotLike(String value) {
            addCriterion("PurcForage not like", value, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageIn(List<String> values) {
            addCriterion("PurcForage in", values, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageNotIn(List<String> values) {
            addCriterion("PurcForage not in", values, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageBetween(String value1, String value2) {
            addCriterion("PurcForage between", value1, value2, "purcforage");
            return (Criteria) this;
        }

        public Criteria andPurcforageNotBetween(String value1, String value2) {
            addCriterion("PurcForage not between", value1, value2, "purcforage");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeIsNull() {
            addCriterion("SlaughterTime is null");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeIsNotNull() {
            addCriterion("SlaughterTime is not null");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeEqualTo(Date value) {
            addCriterion("SlaughterTime =", value, "slaughtertime");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeNotEqualTo(Date value) {
            addCriterion("SlaughterTime <>", value, "slaughtertime");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeGreaterThan(Date value) {
            addCriterion("SlaughterTime >", value, "slaughtertime");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeGreaterThanOrEqualTo(Date value) {
            addCriterion("SlaughterTime >=", value, "slaughtertime");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeLessThan(Date value) {
            addCriterion("SlaughterTime <", value, "slaughtertime");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeLessThanOrEqualTo(Date value) {
            addCriterion("SlaughterTime <=", value, "slaughtertime");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeIn(List<Date> values) {
            addCriterion("SlaughterTime in", values, "slaughtertime");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeNotIn(List<Date> values) {
            addCriterion("SlaughterTime not in", values, "slaughtertime");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeBetween(Date value1, Date value2) {
            addCriterion("SlaughterTime between", value1, value2, "slaughtertime");
            return (Criteria) this;
        }

        public Criteria andSlaughtertimeNotBetween(Date value1, Date value2) {
            addCriterion("SlaughterTime not between", value1, value2, "slaughtertime");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoIsNull() {
            addCriterion("SlaughterPermitNo is null");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoIsNotNull() {
            addCriterion("SlaughterPermitNo is not null");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoEqualTo(String value) {
            addCriterion("SlaughterPermitNo =", value, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoNotEqualTo(String value) {
            addCriterion("SlaughterPermitNo <>", value, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoGreaterThan(String value) {
            addCriterion("SlaughterPermitNo >", value, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoGreaterThanOrEqualTo(String value) {
            addCriterion("SlaughterPermitNo >=", value, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoLessThan(String value) {
            addCriterion("SlaughterPermitNo <", value, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoLessThanOrEqualTo(String value) {
            addCriterion("SlaughterPermitNo <=", value, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoLike(String value) {
            addCriterion("SlaughterPermitNo like", value, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoNotLike(String value) {
            addCriterion("SlaughterPermitNo not like", value, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoIn(List<String> values) {
            addCriterion("SlaughterPermitNo in", values, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoNotIn(List<String> values) {
            addCriterion("SlaughterPermitNo not in", values, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoBetween(String value1, String value2) {
            addCriterion("SlaughterPermitNo between", value1, value2, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andSlaughterpermitnoNotBetween(String value1, String value2) {
            addCriterion("SlaughterPermitNo not between", value1, value2, "slaughterpermitno");
            return (Criteria) this;
        }

        public Criteria andProclineidIsNull() {
            addCriterion("ProcLineID is null");
            return (Criteria) this;
        }

        public Criteria andProclineidIsNotNull() {
            addCriterion("ProcLineID is not null");
            return (Criteria) this;
        }

        public Criteria andProclineidEqualTo(Integer value) {
            addCriterion("ProcLineID =", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidNotEqualTo(Integer value) {
            addCriterion("ProcLineID <>", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidGreaterThan(Integer value) {
            addCriterion("ProcLineID >", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ProcLineID >=", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidLessThan(Integer value) {
            addCriterion("ProcLineID <", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidLessThanOrEqualTo(Integer value) {
            addCriterion("ProcLineID <=", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidIn(List<Integer> values) {
            addCriterion("ProcLineID in", values, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidNotIn(List<Integer> values) {
            addCriterion("ProcLineID not in", values, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidBetween(Integer value1, Integer value2) {
            addCriterion("ProcLineID between", value1, value2, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidNotBetween(Integer value1, Integer value2) {
            addCriterion("ProcLineID not between", value1, value2, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclinenameIsNull() {
            addCriterion("ProcLineName is null");
            return (Criteria) this;
        }

        public Criteria andProclinenameIsNotNull() {
            addCriterion("ProcLineName is not null");
            return (Criteria) this;
        }

        public Criteria andProclinenameEqualTo(String value) {
            addCriterion("ProcLineName =", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameNotEqualTo(String value) {
            addCriterion("ProcLineName <>", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameGreaterThan(String value) {
            addCriterion("ProcLineName >", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameGreaterThanOrEqualTo(String value) {
            addCriterion("ProcLineName >=", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameLessThan(String value) {
            addCriterion("ProcLineName <", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameLessThanOrEqualTo(String value) {
            addCriterion("ProcLineName <=", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameLike(String value) {
            addCriterion("ProcLineName like", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameNotLike(String value) {
            addCriterion("ProcLineName not like", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameIn(List<String> values) {
            addCriterion("ProcLineName in", values, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameNotIn(List<String> values) {
            addCriterion("ProcLineName not in", values, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameBetween(String value1, String value2) {
            addCriterion("ProcLineName between", value1, value2, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameNotBetween(String value1, String value2) {
            addCriterion("ProcLineName not between", value1, value2, "proclinename");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}